package com.irdstudio.efp.e4a.service.dao;

import java.util.List;

import com.irdstudio.efp.e4a.service.domain.SRuleExeResult;
import com.irdstudio.efp.e4a.service.vo.SRuleExeResultVO;

/**
 * 
 * 系统规则执行结果表
 * 
 * @author Cytus_
 * @since 2018年5月6日 下午3:29:06
 * @version 1.0
 *
 */
public interface SRuleExeResultDao {

	public int insertSRuleExeResult(SRuleExeResult sRuleExeResult);

	public int deleteByPk(SRuleExeResult sRuleExeResult);

	public int updateByPk(SRuleExeResult sRuleExeResult);

	public SRuleExeResult queryByPk(SRuleExeResult sRuleExeResult);

	public List<SRuleExeResult> queryAllOwnerByPage(SRuleExeResultVO sRuleExeResult);

	public List<SRuleExeResult> queryAllCurrOrgByPage(SRuleExeResultVO sRuleExeResult);

	public List<SRuleExeResult> queryAllCurrDownOrgByPage(SRuleExeResultVO sRuleExeResult);

	/**
	 * 
	 * @param sRuleExeResult
	 * @return
	 */
	public List<SRuleExeResult> queryDatasByBizByPage(SRuleExeResultVO sRuleExeResult);

	public int insertSRuleExeResultBatch(List<SRuleExeResult> results);

}
